home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invisible Universe
/
Invisible Universe (1995)(Voyager)[Mac-PC].iso
/
mac
/
MOVIES
/
CREDITSP.DIR
/
00001_Script_1
next >
Wrap
Text File
|
1995-11-15
|
1KB
|
55 lines
on exitFrame
global gCreditRate, gSoundIndex, gVolume
if not soundBusy(1) then
if gSoundIndex = 3 then
set gSoundIndex = 1
else
set gSoundIndex = gSoundIndex + 1
end if
sound playfile 1, getAt(["SPAZIO.AIF", "CRISIS.AIF", "STLHEART.AIF"], gSoundIndex)
set the volume of sound 1 = gVolume
end if
--
--
-- Change music
--
if the machineType <> 256 and the optionDown then sound Stop 1
if the machineType = 256 and the shiftDown and the controlDown then sound Stop 1
--
--
-- Speed up credits
--
if the shiftDown then
set gCreditRate = gCreditRate + 1
else
if gCreditRate > 1 then set gCreditRate = gCreditRate - 1
end if
--
--
-- Reverse direction
--
if the controlDown then
set the locV of sprite 1 = (the locV of sprite 1) + gCreditRate
set the locV of sprite 2 = (the locV of sprite 2) + gCreditRate
else
set the locV of sprite 1 = (the locV of sprite 1) - gCreditRate
set the locV of sprite 2 = (the locV of sprite 2) - gCreditRate
end if
if the bottom of sprite 1 < -10 then
set the visibility of sprite 1 = 0
go to the frame + 1
--fadeSoundChan(1)
--endCredits
end if
go to the frame
end